﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls;

namespace Twi.COMMON.WPF
{
    public class TreeViewDragEventArgs : EventArgs
    {
        private TreeViewItem _draggedItem, _targetItem;

        public bool Cancel { get; set; }

        public TreeViewItem DraggedItem { get { return _draggedItem; } }
        public TreeViewItem TargetItem { get { return _targetItem; } }
        public TreeViewDragEventArgs(TreeViewItem draggedItem, TreeViewItem targetItem)
        {
            _draggedItem = draggedItem;
            _targetItem = targetItem;
        }
    }

}
